import request from '@/utils/request/index.js'

export function apiGetNavList(data) {
	return request.request({
		url: '/videomock',
		method: 'GET',
		data: data,
		authType: 'None'
	})
}

// 获取视频标签列表
export function getVideoGroupList() {
	return request.request({
		url: '/video/group/list',
		method: 'POST',
		data: {},
		authType: 'None'
	})
}

// 通过视频标签列表id 获取视频组
export function getVideoGroupById(data) {
	return request.request({
		url: `/video/group?id=${data.id}&timestamp=${Date.now()}`,
		method: 'POST',
		data: data,
		authType: 'None'
	})
}